package com.cloudfun.campusshare.common.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.cloudfun.campusshare.common.constant.BaseConstant;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Created by Huqin on 2020/3/7
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "金融机构导出贷款VO")
public class LoanFiExportVO {

    private static final int WIDTH = 17;

    private String id;

    @Excel(name = "编号", width = WIDTH)
    private String loanNo;

    private String borrowerId;

    @Excel(name = "申请企业", width = WIDTH)
    private String borrowerName;

    @Excel(name = "项目所属学校", width = WIDTH)
    private String projectSchoolName;

    @Excel(name = "关联项目", width = WIDTH)
    private String projectNames;

    @Excel(name = "融资贷款金额", width = WIDTH)
    private Double loanAmount;

    @Excel(name = "申请到达时间", width = WIDTH, exportFormat = BaseConstant.EXPORT_DATE_FORMAT)
    private Date createTime;

    @Excel(name = "状态", width = WIDTH)
    private String status;
}
